public class Student extends Person {
    private String sID; // 学号

    public Student(){
        super();
    }

    public Student(String name, String sID, String birth, String gender, String college, String major) {
        super(name, sID, birth, gender, college, major); // 调用父类的构造方法初始化继承的属性
        this.sID = sID;
    }

    public String getSID() {
        return sID;
    }

    public void setSID(String sID) {
        this.sID = sID;
    }
}